package com.yp.infrastructure.demo.exception;

import com.yp.infrastructure.common.exception.IErrorMessage;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EnumErrorMessage implements IErrorMessage {


    CUSTOMER_EXISTS(51, "customer.exists", ""),
    VENDOR_EXISTS(52, "vendor.exists", ""),
    UNKNOWN_PARTNER_TYPE(53, "customer.exists", ""),
    ;


    private final int code;
    private final String i18n;
    private final String msg;

}
